﻿using DotNetCore.MyBlogApi.Core.CoreServiceImp;
using DotNetCore.MyBlogApi.Data.Models;
using DotNetCore.MyBlogApi.Services.IServices.SysManage;
using System;
using System.Collections.Generic;
using System.Text;
using DotNetCore.MyBlogApi.Data;

namespace DotNetCore.MyBlogApi.Services.ServicesImp.SysManage
{
    public class UserManage :Repository<SysUser>,IUserManage
    {
        public UserManage(ApplicationSqlServerContext Context) : base(Context)
        {
        }

        public SysUser GetUserById(Guid id)
        {
            return base.Get(o=>o.SysUserId==id);
        }

        public string Test(string input)
        {
            return $"您输入的东西是：{input}";
        }
    }
}
